<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <div id="list" title="xxxxxxxx" abc="1314">
        我是一个div
    </div>
    <script type="text/javascript">
        var list = document.querySelector("#list")
        //console.log(list.abc)//对象，属性这种方法，无法获取
        //list.title = "dddddddddd"

        //console.log(list.getAttribute("title"))
        //list.setAttribute('title','dddddddddd')
        list.removeAttribute('abc')
        /*className    //class
        list.style.fontSize = '36px'
        */

        list.style.cssFloat
        list.style

        //function run(){
            //setTimeout(function(){
            //    console.log("xxxxxxxxxxxxxxxxxxxxxx")
            //    run()
            //},1000)
        //}
    </script>
</body>
</html>